<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewCarpoollistTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewCarpoollistLabel_id}"/>
                    <h:outputText value="#{carpoollistController.selected.id}" title="#{bundle.ViewCarpoollistTitle_id}"/>
                    <h:outputText value="#{bundle.ViewCarpoollistLabel_interes}"/>
                    <h:outputText value="#{carpoollistController.selected.interes}" title="#{bundle.ViewCarpoollistTitle_interes}"/>
                    <h:outputText value="#{bundle.ViewCarpoollistLabel_costo}"/>
                    <h:outputText value="#{carpoollistController.selected.costo}" title="#{bundle.ViewCarpoollistTitle_costo}"/>
                    <h:outputText value="#{bundle.ViewCarpoollistLabel_email}"/>
                    <h:outputText value="#{carpoollistController.selected.email}" title="#{bundle.ViewCarpoollistTitle_email}"/>
                    <h:outputText value="#{bundle.ViewCarpoollistLabel_maximo}"/>
                    <h:outputText value="#{carpoollistController.selected.maximo}" title="#{bundle.ViewCarpoollistTitle_maximo}"/>
                    <h:outputText value="#{bundle.ViewCarpoollistLabel_zona}"/>
                    <h:outputText value="#{carpoollistController.selected.zona}" title="#{bundle.ViewCarpoollistTitle_zona}"/>
                    <h:outputText value="#{bundle.ViewCarpoollistLabel_horario}"/>
                    <h:outputText value="#{carpoollistController.selected.horario}" title="#{bundle.ViewCarpoollistTitle_horario}"/>
                    <h:outputText value="#{bundle.ViewCarpoollistLabel_dia}"/>
                    <h:outputText value="#{carpoollistController.selected.dia}" title="#{bundle.ViewCarpoollistTitle_dia}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{carpoollistController.destroyAndView}" value="#{bundle.ViewCarpoollistDestroyLink}"/>
                <br />
                <br />
                <h:link outcome="Edit" value="#{bundle.ViewCarpoollistEditLink}"/>
                <br />
                <h:commandLink action="#{carpoollistController.prepareCreate}" value="#{bundle.ViewCarpoollistCreateLink}" />
                <br />
                <h:commandLink action="#{carpoollistController.prepareList}" value="#{bundle.ViewCarpoollistShowAllLink}"/>
                <br />
                <br />
                <h:link outcome="/index" value="#{bundle.ViewCarpoollistIndexLink}"/>

            </h:form>
        </ui:define>
    </ui:composition>

</html>
